package models

import (
	"MoSkeleton/framework/core/motypes"
)

type MoModel struct {
	ID        uint64          `gorm:"primarykey;autoIncrement=false" json:"id,string"`
	CreatedAt *motypes.MoTime `gorm:"autoCreateTime" json:"createdAt"`
	UpdatedAt *motypes.MoTime `gorm:"autoUpdateTime" json:"updatedAt"`
}

type IDModel struct {
	ID uint64 `json:"id,string" form:"id,string"`
}
